<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>stapes例子07</title>
    <script type="text/javascript" src="../lib/stapes-0.8.1/stapes.js"></script>
</head>
<body>
    <h1>你好!!!</h1>

    <script type="text/javascript">
        //
        var module = new (Stapes.subclass());

        var instruments = { guitar : true };
        var voices = { singing : true };

        module.extend(instruments, voices);

        console.log('guitar' in module, 'singing' in module); // true, true
    </script>


</body>
</html>